package com.taocyb.web.uc;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import com.taocyb.framework.security.simple.Authentication;
import com.taocyb.web.BaseLoginController;

/**
 * 用户中心 - 黑名单 
 */
@Controller
@RequestMapping(value = "/uc/black")
public class BlackController extends BaseLoginController{
	/**
	 * 首页 
	 */
	@Authentication
	@RequestMapping(value = "")
	public String index(Model model){
		return "uc/black/black-index";
	}
	
	/**
	 * 保存数据
	 */
	@Authentication
	public String save(){
		return null;
	}
	
	/**
	 * 删除黑名单 
	 */
	@Authentication
	@RequestMapping(value = "/delete/{id}")
	public String delete(@PathVariable("id") Long id){
		return null;
	}
}
